<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="${staticServer}/inc/style/main.css" />
<link rel="stylesheet" href="${staticServer}/inc/style/page.css" />
<link rel="stylesheet" href="${staticServer}/css/struct_info.css" />
<script src="${staticServer}/inc/js/jquery.js"></script>
<script src="${staticServer}/inc/js/pageset.js"></script>
<script src="${staticServer}/inc/js/submitter.js"></script>
<script src="${staticServer}/inc/js/infopad.js?2.2"></script>

<link rel="stylesheet" href="${staticServer}/css/consultant_client.css" />
	
<link rel="stylesheet" href="${staticServer}/inc/style/date/datepicker.css" />
<script src="${staticServer}/inc/js/datepicker.js"></script>

<style>
#SWFUpload_0{
	margin-top: 70px;
    margin-left: -30px;
}
</style>
<script>


var add_Period = function(){ 
	var satis_degree1 = $("#satis_degree1").val();
	var satis_degree_evaluate1 = $("#satis_degree_evaluate1").val();
	var satis_degree2= $("#satis_degree2").val();
	var satis_degree_evaluate2 = $("#satis_degree_evaluate2").val();
	var satis_degree3 = $("#satis_degree3").val();
	var satis_degree_evaluate3 = $("#satis_degree_evaluate3").val();
	var satis_degree4 = $("#satis_degree4").val();
	var satis_degree_evaluate4 = $("#satis_degree_evaluate4").val();
	var satis_degree_evaluate5 = $("#satis_degree_evaluate5").val();
	

	
	$.post("${contextPath}/recruitment/addSatisSurvey.json", {
		    
		    "satis_degree1":satis_degree1,
			"satis_degree_evaluate1":satis_degree_evaluate1,
		    "satis_degree2":satis_degree2,
			"satis_degree_evaluate2":satis_degree_evaluate2,
			"satis_degree3":satis_degree3,
			"satis_degree_evaluate43":satis_degree_evaluate3,
			"satis_degree4":satis_degree4,
			"satis_degree_evaluate4":satis_degree_evaluate4,
			"satis_degree_evaluate5":satis_degree_evaluate5
		}, function(ms) {
		   var msg = ms.msg;
		   if(msg!=null && msg=="1"){
			   infopad.msg("操作成功！");
			   window.location.href="${contextPath}/recruitment/satis_survey_list.htm";
		   }
			
	});
}


 


</script>
</head>
<input type="hidden" id="id" value="<#if period??>${period.id}</#if>">
<body>
	<div id="home_link">
		<ul>
			<li></li>
			<li>&gt;</li>
			<li>组织架构</li>
			<li>&gt;</li>
			<li class="current">title</li>
		</ul>
	</div>

	<div id="container">
		<div id="title">添加员工反馈情况</div>
		<table id="infotable">
		<tr>
				<th>是否满意公司的各种制度:</th>
				<td>
					<select id="satis_degree1">
						<option value="">请选择</option>
						<option value="1">满意</option>
						<option value="2">一般</option>
						<option value="3">不满意</option>
					</select>
				</td>			
			 
				<th>如不满意:说明</th>
				<td>
				    <textarea name="satis_degree_evaluate1" id="satis_degree_evaluate1" rows="5" cols="30" value=""></textarea>
				</td>
			</tr>
			<tr>
				<th>对于自己上级领导管理:</th>
				<td>
					<select id="satis_degree2">
						<option value="">请选择</option>
						<option value="1">满意</option>
						<option value="2">一般</option>
						<option value="3">不满意</option>
					</select>
				</td>		 
				<th>如不满意:说明</th>
				<td>
				    <textarea name="satis_degree_evaluate2" id="satis_degree_evaluate2" rows="5" cols="30" value=""></textarea>
				</td>
			</tr>
			<tr>
				<th>工作氛围和环境:</th>
				<td>
					<select id="satis_degree3">
						<option value="">请选择</option>
						<option value="1">满意</option>
						<option value="2">一般</option>
						<option value="3">不满意</option>
					</select>
				</td>		 
				<th>如不满意:说明</th>
				<td>
				    <textarea name="satis_degree_evaluate3" id="satis_degree_evaluate3" rows="5" cols="30" value=""></textarea>
				</td>
			</tr>
			<tr>
				<th>对于自己当前工岗位:</th>
				<td>
					<select id="satis_degree4">
						<option value="">请选择</option>
						<option value="1">满意</option>
						<option value="2">一般</option>
						<option value="3">不满意</option>
					</select>
				</td>		 
				<th>如不满意:说明</th>
				<td>
				    <textarea name="satis_degree_evaluate4" id="satis_degree_evaluate4" rows="5" cols="30" value=""></textarea>
				</td>
			</tr>
			<tr>
			    <th>对公司是否有其他意见和建议</th>
			    <td>
				    <textarea name="satis_degree_evaluate5" id="satis_degree_evaluate5" rows="5" cols="30" value=""></textarea>
				</td>
			</tr>
		</table>
		
		<div id="controlbar">
			<input type="button" class="submit" onclick="add_Period()" value="  保  存  " />
		</div>
	</div>
	
</body>
</html>